<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="icon" href="../../favicon.ico">
        <title><?php echo $OJ_NAME?></title>
        <?php include("template/$OJ_TEMPLATE/css.php");?>
        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
            <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
        <style type="text/css">
            table {
                margin-left: auto;
                margin-right: auto;
            }

            table, tr {
                height: 25px;
            }

            table, td {
                padding-right: 1px;
            }

        </style>
    </head>
    <body>
    <div class="container">
        <?php include("template/$OJ_TEMPLATE/nav.php");?>
        <div class="jumbotron">
            <div style="color: #FF6633;text-align: center"><?php echo $tips; ?></div>
            <form action="modifypasswd.php" method="post">
                <table>
                        <tr><td width=30%>用户名: <td width=70%><?php echo $_SESSION['user_id']?><?php require_once('./include/set_post_key.php');?></tr>
                        <tr><td>请输入原密码:<td><input name="opassword" size=20 type=password></tr>
                        <tr><td>请输入新密码:<td><input name="npassword" size=20 type=password></tr>
                        <tr><td>再次输入新密码:<td><input name="rptpassword" size=20 type=password></tr><br><br>
                        <tr><td><td><input value="提交" name="submit" type="submit">&nbsp; &nbsp;<input value="重置" name="reset" type="reset"></tr>
                </table>
            </form>
        </div>
    </div> <!-- /container -->
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <?php include("template/$OJ_TEMPLATE/js.php");?>	    
  </body>
</html>
